package com.demo.dao.impl;

import com.demo.bean.Admin;
import com.demo.bean.School;
import com.demo.bean.Warehouse;
import com.demo.dao.AdminDao;

public class AdminDaoImpl implements AdminDao {
    public String updateSchool(School school) {
        return null;
    }

    public String selectSchool(School school) {
        return null;
    }

    public Admin selectUserIdAndPassword(Admin admin) {
        //通过sql调用数据操作
        //书写sql语句
        String sql = "select * from admin where userID = ? and password = ?";
        return null;
    }

    public String insertSchool(School school) {
        return null;
    }

    public boolean deleteSchool(School school) {
        return false;
    }

    public String insertWarehouse(Warehouse ws) {
        return null;
    }

    public boolean deleteWarehouse(Warehouse ws) {
        return false;
    }

    public String updateWarehouse(Warehouse ws) {
        return null;
    }

    public String selectWarehouse(Warehouse ws) {
        return null;
    }
}
